<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<c:set var="cp" scope="session" value="${pageContext.request.servletContext.contextPath}" />
<!DOCTYPE html5>
<html>
<title>首页</title>
<body>
	<div class="banner">
		<!--轮播 -->
		<div class="am-slider am-slider-default scoll" data-am-flexslider id="demo-slider-0">
			<ul class="am-slides">
				<li class="banner1"><a href="introduction.html"><img src="${cp}/images/ad1.jpg" /></a></li>
				<li class="banner2"><a><img src="${cp}/images/ad2.jpg" /></a></li>
				<li class="banner3"><a><img src="${cp}/images/ad3.jpg" /></a></li>
				<li class="banner4"><a><img src="${cp}/images/ad4.jpg" /></a></li>
			</ul>
		</div>
		<div class="clear"></div>
	</div>
	<div class="shopNav">
		<div class="slideall">

			<div class="long-title">
				<span class="all-goods">全部分类</span>
			</div>
			<div class="nav-cont"></div>

			<!--侧边导航 -->
			<div id="nav" class="navfull">
				<div class="area clearfix">
					<div class="category-content" id="guide_2">

						<div class="category">
							<ul class="category-list" id="js_climit_li">
								<li class="appliance js_toggle relative first">
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${cp}/images/phone.jpg"></i><a class="ml-22" title="手机">手机</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														<dl class="dl-sort">
															<dt>
																<span title="IOS">苹果</span>
															</dt>
															<dd>
																<a title="苹果6" href="#"><span>iPhone6</span></a>
															</dd>
														</dl>
													</div>
													<div class="brand-side"></div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>

								<li class="appliance js_toggle relative"></li>

								<li class="appliance js_toggle relative">
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${cp}/images/cookies.png"></i><a class="ml-22" title="饼干、膨化">食品</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														<dl class="dl-sort">
															<dt>
																<span title="饼干">饼干</span>
															</dt>
															<dd>
																<a title="蒸蛋糕" href="#"><span>蒸蛋糕</span></a>
															</dd>
														</dl>
													</div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>

								<li class="appliance js_toggle relative"></li>

								<li class="appliance js_toggle relative">
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${cp}/images/mc.jpg"></i><a class="ml-22" title="母婴">母婴</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														<dl class="dl-sort">
															<dt>
																<span title="尿不湿">尿不湿</span>
															</dt>
															<dd>
																<a title="花王" href="#"><span>花王</span></a>
															</dd>
														</dl>
													</div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>

								<li class="appliance js_toggle relative"></li>

								<li class="appliance js_toggle relative">
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${cp}/images/eletr.jpg"></i><a class="ml-22" title="家电">家电</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														<dl class="dl-sort">
															<dt>
																<span title="电冰箱">电冰箱</span>
															</dt>
															<dd>
																<a title="海尔" href="#"><span>海尔</span></a>
															</dd>
														</dl>
													</div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>

								<li class="appliance js_toggle relative"></li>

								<li class="appliance js_toggle relative">
									<div class="category-info">
										<h3 class="category-name b-category-name">
											<i><img src="${cp}/images/mouse.jpg"></i><a class="ml-22" title="坚果、炒货">美妆</a>
										</h3>
										<em>&gt;</em>
									</div>
									<div class="menu-item menu-in top">
										<div class="area-in">
											<div class="area-bg">
												<div class="menu-srot">
													<div class="sort-side">
														<dl class="dl-sort">
															<dt>
																<span title="洗发水">洗发水</span>
															</dt>
															<dd>
																<a title="飘柔" href="#"><span>飘柔</span></a>
															</dd>
														</dl>
													</div>
												</div>
											</div>
										</div>
									</div> <b class="arrow"></b>
								</li>

								<li class="appliance js_toggle relative"></li>

							</ul>
						</div>
					</div>

				</div>
			</div>
			<!--轮播-->
			<script type="text/javascript">
				(function() {
					$('.am-slider').flexslider();
				});
				$(document).ready(function() {
					$("li").hover(function() {
						$(".category-content .category-list li.first .menu-in").css("display", "none");
						$(".category-content .category-list li.first").removeClass("hover");
						$(this).addClass("hover");
						$(this).children("div.menu-in").css("display", "block")
					}, function() {
						$(this).removeClass("hover")
						$(this).children("div.menu-in").css("display", "none")
					});
				})
			</script>
			<!--走马灯 -->
			<div class="marqueen">
				<span class="marqueen-title">商城头条</span>
				<div class="demo">
					<div class="mod-vip">
						<c:if test='${not empty logined}'>
							<div class="m-baseinfo">
								<a href="${cp}/person/index.html"> <img src="${cp}/images/${logined.id}" width="20" height="90">
								</a> <em> Hi,<span class="s-name">${logined.userName}</span>
								</em>
							</div>
						</c:if>
						<c:if test='${empty logined}'>
							<div class="member-logout">
								<a class="am-btn-warning btn" href="${cp}/user/toLogin.do">登录</a> <a class="am-btn-warning btn" href="${cp}/user/toRegister.do">注册</a>
							</div>
						</c:if>
						<div class="member-login">
							<a href="#"><strong>0</strong>待收货</a> <a href="#"><strong>0</strong>待发货</a> <a href="#"><strong>0</strong>待付款</a> <a href="#"><strong>0</strong>待评价</a>
						</div>
						<div class="clear"></div>
					</div>
					<div class="advTip">
						<img src="${cp}/images/advTip.jpg" />
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		<script type="text/javascript">
			if ($(window).width() < 640) {
				function autoScroll(obj) {
					$(obj).find("ul").animate({
						marginTop : "-39px"
					}, 500, function() {
						$(this).css({
							marginTop : "0px"
						}).find("li:first").appendTo(this);
					})
				}
				$(function() {
					setInterval('autoScroll(".demo")', 3000);
				})
			}
		</script>
	</div>
	<div class="shopMainbg">
		<div class="shopMain" id="shopmain">
			<div class="clear "></div>
			<div class="clear "></div>
			<div id="f1">
				<!--甜点-->
				<div class="am-container ">
					<div class="shopTitle ">
						<h4>手机</h4>
					</div>
				</div>

				<div class="am-g am-g-fixed floodFour">
					<div class="am-u-sm-5 am-u-md-4 text-one list ">
						<img src=" " />
						<div class="triangle-topright"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two sug">
						<div class="outer-con ">
							<div class="title " id="goodName1"></div>
							<div class="sub-title" id="goodPrice1"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL1"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two">
						<div class="outer-con">
							<div class="title" id="goodName2"></div>
							<div class="sub-title" id="goodPrice2"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL2"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three big">
						<div class="outer-con">
							<div class="title" id="goodName3"></div>
							<div class="sub-title" id="goodPrice3"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL3"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three sug">
						<div class="outer-con">
							<div class="title" id="goodName4"></div>
							<div class="sub-title" id="goodPrice4"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL4"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three ">
						<div class="outer-con">
							<div class="title" id="goodName5"></div>
							<div class="sub-title" id="goodPrice5"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL5"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three last big ">
						<div class="outer-con ">
							<div class="title" id="goodName6"></div>
							<div class="sub-title" id="goodPrice6"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL6"></div>
					</div>

				</div>
			</div>
			<div id="f2">
				<!--坚果-->
				<div class="am-container ">
					<div class="shopTitle ">
						<h4>食品</h4>
					</div>
				</div>
				<div class="am-g am-g-fixed floodThree ">
					<div class="am-u-sm-4 text-four list">
						<div class="triangle-topright"></div>
					</div>
					<div class="am-u-sm-4 text-four">
						<div class="outer-con ">
							<div class="title" id="goodName7"></div>
							<div class="sub-title" id="goodPrice7"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL7"></div>
					</div>
					<div class="am-u-sm-4 text-four sug">
						<div class="outer-con ">
							<div class="title" id="goodName8"></div>
							<div class="sub-title" id="goodPrice8"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL8"></div>
					</div>

					<div class="am-u-sm-6 am-u-md-3 text-five big ">
						<div class="outer-con">
							<div class="title" id="goodName9"></div>
							<div class="sub-title" id="goodPrice9"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL9"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five ">
						<div class="outer-con ">
							<div class="title" id="goodName10"></div>
							<div class="sub-title" id="goodPrice10"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL10"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five sug">
						<div class="outer-con ">
							<div class="title" id="goodName11"></div>
							<div class="sub-title" id="goodPrice11"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL11"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five big">
						<div class="outer-con">
							<div class="title" id="goodName12"></div>
							<div class="sub-title" id="goodPrice12"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL12"></div>
					</div>

				</div>

				<div class="clear "></div>
			</div>


			<div id="f3">
				<!--甜点-->

				<div class="am-container ">
					<div class="shopTitle ">
						<h4>母婴</h4>
					</div>
				</div>

				<div class="am-g am-g-fixed floodFour">
					<div class="am-u-sm-5 am-u-md-4 text-one list ">
						<div class="triangle-topright"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two sug">
						<div class="outer-con ">
							<div class="title" id="goodName13"></div>
							<div class="sub-title" id="goodPrice13"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL13"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two">
						<div class="outer-con ">
							<div class="title" id="goodName14"></div>
							<div class="sub-title" id="goodPrice14"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL14"></div>
					</div>


					<div class="am-u-sm-3 am-u-md-2 text-three big">
						<div class="outer-con ">
							<div class="title" id="goodName15"></div>
							<div class="sub-title" id="goodPrice15"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL15"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three sug">
						<div class="outer-con ">
							<div class="title" id="goodName16"></div>
							<div class="sub-title" id="goodPrice16"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL16"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three ">
						<div class="outer-con ">
							<div class="title" id="goodName17"></div>
							<div class="sub-title" id="goodPrice17"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL17"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three last big ">
						<div class="outer-con ">
							<div class="title" id="goodName18"></div>
							<div class="sub-title" id="goodPrice18"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL18"></div>
					</div>
				</div>
				<div class="clear "></div>
			</div>

			<div id="f4">
				<div class="am-container ">
					<div class="shopTitle ">
						<h4>家电</h4>
					</div>
				</div>
				<div class="am-g am-g-fixed floodThree ">
					<div class="am-u-sm-4 text-four list">
						<div class="triangle-topright"></div>
					</div>
					<div class="am-u-sm-4 text-four">
						<div class="outer-con">
							<div class="title" id="goodName19"></div>
							<div class="sub-title" id="goodPrice19"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL19"></div>
					</div>
					<div class="am-u-sm-4 text-four sug">
						<div class="outer-con ">
							<div class="title" id="goodName20"></div>
							<div class="sub-title" id="goodPrice20"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL20"></div>
					</div>

					<div class="am-u-sm-6 am-u-md-3 text-five big ">
						<div class="outer-con ">
							<div class="title" id="goodName21"></div>
							<div class="sub-title" id="goodPrice21"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL21"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five ">
						<div class="outer-con ">
							<div class="title" id="goodName22"></div>
							<div class="sub-title" id="goodPrice22"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL22"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five sug">
						<div class="outer-con ">
							<div class="title" id="goodName23"></div>
							<div class="sub-title" id="goodPrice23"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL23"></div>
					</div>
					<div class="am-u-sm-6 am-u-md-3 text-five big">
						<div class="outer-con ">
							<div class="title" id="goodName24"></div>
							<div class="sub-title" id="goodPrice24"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL24"></div>
					</div>
				</div>
				<div class="clear "></div>
			</div>


			<div id="f5">
				<!--甜点-->

				<div class="am-container ">
					<div class="shopTitle ">
						<h4>美妆</h4>
					</div>
				</div>

				<div class="am-g am-g-fixed floodFour">
					<div class="am-u-sm-5 am-u-md-4 text-one list ">
						<div class="triangle-topright"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two sug">
						<div class="outer-con ">
							<div class="title" id="goodName25"></div>
							<div class="sub-title" id="goodPrice25"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL25"></div>
					</div>

					<div class="am-u-sm-7 am-u-md-4 text-two">
						<div class="outer-con ">
							<div class="title" id="goodName26"></div>
							<div class="sub-title" id="goodPrice26"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL26"></div>
					</div>


					<div class="am-u-sm-3 am-u-md-2 text-three big">
						<div class="outer-con ">
							<div class="title" id="goodName27"></div>
							<div class="sub-title" id="goodPrice27"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL27"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three sug">
						<div class="outer-con ">
							<div class="title" id="goodName28"></div>
							<div class="sub-title" id="goodPrice28"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL28"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three ">
						<div class="outer-con ">
							<div class="title" id="goodName29"></div>
							<div class="sub-title" id="goodPrice29"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL29"></div>
					</div>

					<div class="am-u-sm-3 am-u-md-2 text-three last big ">
						<div class="outer-con ">
							<div class="title" id="goodName30"></div>
							<div class="sub-title" id="goodPrice30"></div>
							<i class="am-icon-shopping-basket am-icon-md  seprate"></i>
						</div>
						<div id="goodURL30"></div>
					</div>
				</div>
				<div class="clear "></div>
			</div>
		</div>
	</div>
	<!--引导 -->
	<div class="navCir">
		<ul>
			<li class="active"><a href="home.html"><i class="am-icon-home "></i>首页</a></li>
			<li><a href="sort.html"><i class="am-icon-list"></i>分类</a></li>
			<li><a href="shopcart.html"><i class="am-icon-shopping-basket"></i>购物车</a></li>
			<li><a href="${cp}/person/index.html"><i class="am-icon-user"></i>我的</a></li>
		</ul>
	</div>

	<!--菜单 -->
	<div class=tip>
		<div id="sidebar">
			<div id="wrap">
				<div id="prof" class="item ">
					<a href="# "> <span class="setting "></span>
					</a>
					<div class="ibar_login_box status_login ">
						<c:if test='${not empty logined}'>
							<div class="avatar_box ">
								<p class="avatar_imgbox ">
									<img src="${cp}/images/${logined.id}" width="20" height="90" />
								</p>
								<ul class="user_info ">
									<li>用户名:${logined.userName}</li>
								</ul>
							</div>
						</c:if>
						<div class="login_btnbox ">
							<a href="# " class="login_order ">我的订单</a> <a href="# " class="login_favorite ">我的收藏</a>
						</div>
						<i class="icon_arrow_white "></i>
					</div>

				</div>
				<div id="shopCart " class="item ">
					<a href="# "> <span class="message "></span>
					</a>
					<p>购物车</p>
					<p class="cart_num ">0</p>
				</div>
				<div id="asset " class="item ">
					<a href="# "> <span class="view "></span>
					</a>
					<div class="mp_tooltip ">
						我的资产 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="foot " class="item ">
					<a href="# "> <span class="zuji "></span>
					</a>
					<div class="mp_tooltip ">
						我的足迹 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="brand " class="item ">
					<a href="#"> <span class="wdsc "><img src="${cp}/images/wdsc.png " /></span>
					</a>
					<div class="mp_tooltip ">
						我的收藏 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div id="broadcast " class="item ">
					<a href="# "> <span class="chongzhi "><img src="${cp}/images/chongzhi.png " /></span>
					</a>
					<div class="mp_tooltip ">
						我要充值 <i class="icon_arrow_right_black "></i>
					</div>
				</div>

				<div class="quick_toggle ">
					<ul>
						<li class="qtitem "><a href="# "><span class="kfzx "></span></a>
							<div class="mp_tooltip ">
								客服中心<i class="icon_arrow_right_black "></i>
							</div></li>
						<!--二维码 -->
						<li class="qtitem "><a href="#none "><span class="mpbtn_qrcode "></span></a>
							<div class="mp_qrcode " style="display: none;">
								<img src="${cp}/images/weixin_code_145.png " /><i class="icon_arrow_white "></i>
							</div></li>
						<li class="qtitem "><a href="#top " class="return_top "><span class="top "></span></a></li>
					</ul>
				</div>

				<!--回到顶部 -->
				<div id="quick_links_pop " class="quick_links_pop hide "></div>

			</div>

		</div>
		<div id="prof-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>我</div>
		</div>
		<div id="shopCart-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>购物车</div>
		</div>
		<div id="asset-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>资产</div>

			<div class="ia-head-list ">
				<div>
					<a href="# " target="_blank " class="pl "></a>
				</div>
				<div class="num ">0</div>
				<div class="text ">优惠券</div>
				<div>
					<a href="# " target="_blank " class="pl "></a>
				</div>
				<div class="num ">0</div>
				<div class="text ">红包</div>
				<div>
					<a href="# " target="_blank " class="pl money "></a>
				</div>
				<div class="num ">￥0</div>
				<div class="text ">余额</div>
			</div>

		</div>
		<div id="foot-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>足迹</div>
		</div>
		<div id="brand-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>收藏</div>
		</div>
		<div id="broadcast-content " class="nav-content ">
			<div class="nav-con-close ">
				<i class="am-icon-angle-right am-icon-fw "></i>
			</div>
			<div>充值</div>
		</div>
	</div>
	<script>
		window.jQuery || document.write('<script src="basic/js/jquery.min.js "><\/script>');
	</script>
	<script type="text/javascript " src="${cp}/basic/js/quick_links.js "></script>
</body>
</html>